//
//  NSUserDefaults+Function.h
//  u76ho
//
//  Created by m-air-01 on 15/12/30.
//  Copyright © 2015年 LV. All rights reserved.
//

#import <Foundation/Foundation.h>
#define NSUSERDEFAUTS [NSUserDefaults standardUserDefaults]
#define DEFAULTS_SYNCHRONIZE [[NSUserDefaults standardUserDefaults]synchronize]

@interface NSUserDefaults (Function)
+ (void)setBool:(BOOL)value forKey:(NSString *)defaultName;
+ (BOOL)boolForKey:(NSString *)defaultName;
+ (void)setObject:(id)value forKey:(NSString *)defaultName;
+ (id)objectForKey:(NSString *)defaultName;

+ (void)removeObjectForKey:(NSString *)key;

@end
